package com.zzh.ssm.po;

/**
 * OrderCustom.java
 * 
 * @author zhangzhenhua
 * @date 2016年10月10日 下午6:01:48
 * @description 订单的扩展类
 */

/* 通过此类映射订单和用户的查询结果，让此类集成包括字段较多的pojo类 */
public class OrdersCustom extends Orders {
	/* 添加用户属性 */
	private Orders orders;
	private String username;
	private String sex;
	private String address;

	public Orders getOrders() {
		return orders;
	}

	public String getUsername() {
		return username;
	}

	public String getSex() {
		return sex;
	}

	public String getAddress() {
		return address;
	}

	public void setOrders(Orders orders) {
		this.orders = orders;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "OrdersCustom [orders=" + orders + ", username=" + username + ", sex=" + sex + ", address=" + address
				+ "]";
	}

}
